package com.t194.mapper;

import com.t194.entity.User;
import com.t194.util.UserDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    List<User> findAll();
    List<User> findByDto(UserDto dto);
    void update(@Param("userId") Integer userId, @Param("roleId") Integer roleId);
    User findByUserCode(String userCode);
}
